/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PantallaProveedoresNew.java
 *
 * Created on 05-jun-2011, 15:39:56
 */
package interfacesGraficas;

import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JInternalFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.JTable;
import javax.swing.JTextField;
import javax.swing.JToolBar;

/**
 *
 * @author diego
 */
public class PantallaProveedoresNew extends JInternalFrame {

    /** Creates new form PantallaProveedoresNew */
    public PantallaProveedoresNew() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        jTabbedPaneProveedores = new javax.swing.JTabbedPane();
        jpanelProveedores = new javax.swing.JPanel();
        barraHerramientasProveedor = new javax.swing.JToolBar();
        btnNuevoProveedor = new javax.swing.JButton();
        btnModificarProveedor = new javax.swing.JButton();
        btnEliminarProveedor = new javax.swing.JButton();
        btnSalir = new javax.swing.JButton();
        panelFiltros = new javax.swing.JPanel();
        lblCodigo = new javax.swing.JLabel();
        lblNombre = new javax.swing.JLabel();
        txtNombre = new javax.swing.JTextField();
        txtCodigo = new javax.swing.JTextField();
        lblTipo = new javax.swing.JLabel();
        btnBuscar = new javax.swing.JButton();
        txtTelefono = new javax.swing.JTextField();
        panelProveedores = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        tblProveedores = new javax.swing.JTable();
        btnMostrarListaMateriales = new javax.swing.JButton();
        jPanelMateriales = new javax.swing.JPanel();
        barraHerramientasListaMat = new javax.swing.JToolBar();
        btnGuardarLista = new javax.swing.JButton();
        btnNuevaLista = new javax.swing.JButton();
        btnBuscarLista = new javax.swing.JButton();
        jpanelListaMateriales = new javax.swing.JPanel();
        jPanelAddMaterial = new javax.swing.JPanel();
        btnAddMaterial = new javax.swing.JButton();
        btnQuitarMaterial = new javax.swing.JButton();
        jPanel2 = new javax.swing.JPanel();
        cbxTipoMaterial = new javax.swing.JComboBox();
        jScrollPane3 = new javax.swing.JScrollPane();
        tblMateriales = new javax.swing.JTable();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jScrollPane2 = new javax.swing.JScrollPane();
        tblListaMateriales = new javax.swing.JTable();
        lblNombreProveedor = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        lblFechaListaMat = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        lblFechaModificacionLista = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        lblCodigoLista = new javax.swing.JLabel();

        setBorder(javax.swing.BorderFactory.createEtchedBorder());
        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        getContentPane().setLayout(new java.awt.GridBagLayout());

        jpanelProveedores.setPreferredSize(new java.awt.Dimension(700, 500));
        jpanelProveedores.setLayout(new java.awt.GridBagLayout());

        barraHerramientasProveedor.setFloatable(false);
        barraHerramientasProveedor.setRollover(true);

        btnNuevoProveedor.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/proveedor-30.png"))); // NOI18N
        btnNuevoProveedor.setToolTipText("Nuevo Proveedor");
        barraHerramientasProveedor.add(btnNuevoProveedor);

        btnModificarProveedor.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/document_pencil_30.png"))); // NOI18N
        btnModificarProveedor.setToolTipText("Modificar Proveedor");
        btnModificarProveedor.setFocusable(false);
        btnModificarProveedor.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnModificarProveedor.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        barraHerramientasProveedor.add(btnModificarProveedor);

        btnEliminarProveedor.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/user-trash-30.png"))); // NOI18N
        btnEliminarProveedor.setToolTipText("Eliminar Proveedor");
        barraHerramientasProveedor.add(btnEliminarProveedor);

        btnSalir.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/Log-out-30.png"))); // NOI18N
        btnSalir.setToolTipText("Salir");
        btnSalir.setFocusable(false);
        btnSalir.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnSalir.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        barraHerramientasProveedor.add(btnSalir);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpanelProveedores.add(barraHerramientasProveedor, gridBagConstraints);

        panelFiltros.setBorder(javax.swing.BorderFactory.createTitledBorder("Filtros"));
        panelFiltros.setLayout(new java.awt.GridBagLayout());

        lblCodigo.setText("Código");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(5, 10, 0, 0);
        panelFiltros.add(lblCodigo, gridBagConstraints);

        lblNombre.setText("Nombre");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(5, 10, 0, 0);
        panelFiltros.add(lblNombre, gridBagConstraints);

        txtNombre.setMaximumSize(new java.awt.Dimension(170, 27));
        txtNombre.setMinimumSize(new java.awt.Dimension(170, 27));
        txtNombre.setPreferredSize(new java.awt.Dimension(170, 27));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(5, 10, 10, 0);
        panelFiltros.add(txtNombre, gridBagConstraints);

        txtCodigo.setMaximumSize(new java.awt.Dimension(170, 27));
        txtCodigo.setMinimumSize(new java.awt.Dimension(170, 27));
        txtCodigo.setPreferredSize(new java.awt.Dimension(170, 27));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(5, 10, 10, 0);
        panelFiltros.add(txtCodigo, gridBagConstraints);

        lblTipo.setText("Teléfono");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(5, 10, 0, 0);
        panelFiltros.add(lblTipo, gridBagConstraints);

        btnBuscar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/edit-find.png"))); // NOI18N
        btnBuscar.setText("Buscar");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 3;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.weightx = 1.0;
        gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 0);
        panelFiltros.add(btnBuscar, gridBagConstraints);

        txtTelefono.setMaximumSize(new java.awt.Dimension(170, 27));
        txtTelefono.setMinimumSize(new java.awt.Dimension(170, 27));
        txtTelefono.setPreferredSize(new java.awt.Dimension(170, 27));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.insets = new java.awt.Insets(5, 10, 10, 0);
        panelFiltros.add(txtTelefono, gridBagConstraints);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpanelProveedores.add(panelFiltros, gridBagConstraints);

        panelProveedores.setBorder(javax.swing.BorderFactory.createTitledBorder("Proveedores"));

        tblProveedores.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(tblProveedores);

        btnMostrarListaMateriales.setText("Mostrar Lista Materiales");

        javax.swing.GroupLayout panelProveedoresLayout = new javax.swing.GroupLayout(panelProveedores);
        panelProveedores.setLayout(panelProveedoresLayout);
        panelProveedoresLayout.setHorizontalGroup(
            panelProveedoresLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelProveedoresLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 638, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(btnMostrarListaMateriales)
                .addContainerGap(115, Short.MAX_VALUE))
        );
        panelProveedoresLayout.setVerticalGroup(
            panelProveedoresLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelProveedoresLayout.createSequentialGroup()
                .addGroup(panelProveedoresLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 305, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(panelProveedoresLayout.createSequentialGroup()
                        .addGap(1, 1, 1)
                        .addComponent(btnMostrarListaMateriales)))
                .addContainerGap(108, Short.MAX_VALUE))
        );

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.weightx = 1.0;
        gridBagConstraints.weighty = 1.0;
        jpanelProveedores.add(panelProveedores, gridBagConstraints);

        jTabbedPaneProveedores.addTab("Proveedores", jpanelProveedores);

        jPanelMateriales.setLayout(new java.awt.GridBagLayout());

        barraHerramientasListaMat.setFloatable(false);
        barraHerramientasListaMat.setRollover(true);

        btnGuardarLista.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/Save_30.png"))); // NOI18N
        btnGuardarLista.setToolTipText("Guardar Lista");
        btnGuardarLista.setFocusable(false);
        btnGuardarLista.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnGuardarLista.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        barraHerramientasListaMat.add(btnGuardarLista);

        btnNuevaLista.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/Table-Add-30.png"))); // NOI18N
        btnNuevaLista.setToolTipText("Nueva Lista Materiales");
        barraHerramientasListaMat.add(btnNuevaLista);

        btnBuscarLista.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/Search files-30.png"))); // NOI18N
        btnBuscarLista.setToolTipText("Buscar Lista de Materiales");
        btnBuscarLista.setFocusable(false);
        btnBuscarLista.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnBuscarLista.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        barraHerramientasListaMat.add(btnBuscarLista);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.gridwidth = 3;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.weightx = 1.0;
        jPanelMateriales.add(barraHerramientasListaMat, gridBagConstraints);

        jpanelListaMateriales.setBorder(javax.swing.BorderFactory.createTitledBorder("Lista de Materiales"));

        jPanelAddMaterial.setLayout(new java.awt.GridBagLayout());

        btnAddMaterial.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/Left-arrow-30.png"))); // NOI18N
        btnAddMaterial.setText("Añadir");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.insets = new java.awt.Insets(15, 15, 15, 15);
        jPanelAddMaterial.add(btnAddMaterial, gridBagConstraints);

        btnQuitarMaterial.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/Right-arrow-30.png"))); // NOI18N
        btnQuitarMaterial.setText("Quitar");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.insets = new java.awt.Insets(15, 15, 15, 15);
        jPanelAddMaterial.add(btnQuitarMaterial, gridBagConstraints);

        jPanel2.setBackground(new java.awt.Color(92, 235, 92));

        cbxTipoMaterial.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        cbxTipoMaterial.setMaximumSize(new java.awt.Dimension(200, 29));
        cbxTipoMaterial.setMinimumSize(new java.awt.Dimension(200, 29));
        cbxTipoMaterial.setPreferredSize(new java.awt.Dimension(200, 29));

        tblMateriales.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null},
                {null},
                {null},
                {null}
            },
            new String [] {
                "Title 1"
            }
        ));
        jScrollPane3.setViewportView(tblMateriales);

        jLabel1.setText("Tipo de Material");

        jLabel2.setText("Materiales");

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jLabel1)
                    .addComponent(jLabel2)
                    .addComponent(cbxTipoMaterial, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jScrollPane3, 0, 0, Short.MAX_VALUE))
                .addContainerGap(27, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(cbxTipoMaterial, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabel2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 311, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        tblListaMateriales.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane2.setViewportView(tblListaMateriales);

        lblNombreProveedor.setFont(new java.awt.Font("DejaVu Sans", 0, 18));
        lblNombreProveedor.setText("Nombre Proveedor");

        jLabel3.setText("Fecha Lista Materiales: ");

        lblFechaListaMat.setForeground(new java.awt.Color(13, 140, 243));
        lblFechaListaMat.setText("Fecha Lista");

        jLabel4.setText("Última Modificación:");

        lblFechaModificacionLista.setForeground(new java.awt.Color(13, 140, 243));
        lblFechaModificacionLista.setText("Fecha Modificación");

        jLabel5.setText("Código Lista:");

        lblCodigoLista.setForeground(new java.awt.Color(13, 140, 243));
        lblCodigoLista.setText("Código");

        javax.swing.GroupLayout jpanelListaMaterialesLayout = new javax.swing.GroupLayout(jpanelListaMateriales);
        jpanelListaMateriales.setLayout(jpanelListaMaterialesLayout);
        jpanelListaMaterialesLayout.setHorizontalGroup(
            jpanelListaMaterialesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpanelListaMaterialesLayout.createSequentialGroup()
                .addGap(18, 18, 18)
                .addGroup(jpanelListaMaterialesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpanelListaMaterialesLayout.createSequentialGroup()
                        .addComponent(jLabel4)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(lblFechaModificacionLista))
                    .addGroup(jpanelListaMaterialesLayout.createSequentialGroup()
                        .addComponent(jLabel3)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(lblFechaListaMat))
                    .addComponent(lblNombreProveedor)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jpanelListaMaterialesLayout.createSequentialGroup()
                        .addComponent(jLabel5)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(lblCodigoLista)))
                .addGap(18, 18, 18)
                .addComponent(jPanelAddMaterial, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(87, 87, 87))
        );
        jpanelListaMaterialesLayout.setVerticalGroup(
            jpanelListaMaterialesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpanelListaMaterialesLayout.createSequentialGroup()
                .addGroup(jpanelListaMaterialesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpanelListaMaterialesLayout.createSequentialGroup()
                        .addGap(10, 10, 10)
                        .addComponent(lblNombreProveedor)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jpanelListaMaterialesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel3)
                            .addComponent(lblFechaListaMat))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jpanelListaMaterialesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(lblFechaModificacionLista)
                            .addComponent(jLabel4))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jpanelListaMaterialesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel5)
                            .addComponent(lblCodigoLista))
                        .addGap(37, 37, 37)
                        .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 334, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jpanelListaMaterialesLayout.createSequentialGroup()
                        .addGap(25, 25, 25)
                        .addComponent(jPanelAddMaterial, javax.swing.GroupLayout.PREFERRED_SIZE, 432, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jpanelListaMaterialesLayout.createSequentialGroup()
                        .addGap(25, 25, 25)
                        .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(27, Short.MAX_VALUE))
        );

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.ipady = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.weightx = 1.0;
        gridBagConstraints.weighty = 1.0;
        jPanelMateriales.add(jpanelListaMateriales, gridBagConstraints);

        jTabbedPaneProveedores.addTab("Materiales", jPanelMateriales);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
        gridBagConstraints.weightx = 1.0;
        gridBagConstraints.weighty = 1.0;
        getContentPane().add(jTabbedPaneProveedores, gridBagConstraints);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JToolBar barraHerramientasListaMat;
    private javax.swing.JToolBar barraHerramientasProveedor;
    private javax.swing.JButton btnAddMaterial;
    private javax.swing.JButton btnBuscar;
    private javax.swing.JButton btnBuscarLista;
    private javax.swing.JButton btnEliminarProveedor;
    private javax.swing.JButton btnGuardarLista;
    private javax.swing.JButton btnModificarProveedor;
    private javax.swing.JButton btnMostrarListaMateriales;
    private javax.swing.JButton btnNuevaLista;
    private javax.swing.JButton btnNuevoProveedor;
    private javax.swing.JButton btnQuitarMaterial;
    private javax.swing.JButton btnSalir;
    private javax.swing.JComboBox cbxTipoMaterial;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanelAddMaterial;
    private javax.swing.JPanel jPanelMateriales;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JTabbedPane jTabbedPaneProveedores;
    private javax.swing.JPanel jpanelListaMateriales;
    private javax.swing.JPanel jpanelProveedores;
    private javax.swing.JLabel lblCodigo;
    private javax.swing.JLabel lblCodigoLista;
    private javax.swing.JLabel lblFechaListaMat;
    private javax.swing.JLabel lblFechaModificacionLista;
    private javax.swing.JLabel lblNombre;
    private javax.swing.JLabel lblNombreProveedor;
    private javax.swing.JLabel lblTipo;
    private javax.swing.JPanel panelFiltros;
    private javax.swing.JPanel panelProveedores;
    private javax.swing.JTable tblListaMateriales;
    private javax.swing.JTable tblMateriales;
    private javax.swing.JTable tblProveedores;
    private javax.swing.JTextField txtCodigo;
    private javax.swing.JTextField txtNombre;
    private javax.swing.JTextField txtTelefono;
    // End of variables declaration//GEN-END:variables

    public JToolBar getBarraHerramientasListaMat() {
        return barraHerramientasListaMat;
    }

    public JToolBar getBarraHerramientasProveedor() {
        return barraHerramientasProveedor;
    }

    public JButton getBtnBuscar() {
        return btnBuscar;
    }

    public JButton getBtnEliminarProveedor() {
        return btnEliminarProveedor;
    }

    public JButton getBtnModificarProveedor() {
        return btnModificarProveedor;
    }

    public JButton getBtnNuevaLista() {
        return btnNuevaLista;
    }

    public JButton getBtnNuevoProveedor() {
        return btnNuevoProveedor;
    }

    public JButton getBtnSalir() {
        return btnSalir;
    }

    public JComboBox getCbxTipoMaterial() {
        return cbxTipoMaterial;
    }

    public JTable getTblListaMateriales() {
        return tblListaMateriales;
    }

    public JTable getTblMateriales() {
        return tblMateriales;
    }

    public JTable getTblProveedores() {
        return tblProveedores;
    }

    public JTextField getTxtCodigo() {
        return txtCodigo;
    }

    public JTextField getTxtNombre() {
        return txtNombre;
    }

    public JTextField getTxtTelefono() {
        return txtTelefono;
    }

    public JButton getBtnAddMaterial() {
        return btnAddMaterial;
    }

    public JButton getBtnQuitarMaterial() {
        return btnQuitarMaterial;
    }

    public JTabbedPane getjTabbedPaneProveedores() {
        return jTabbedPaneProveedores;
    }

    public JPanel getjPanelMateriales() {
        return jPanelMateriales;
    }

    public JLabel getLblFechaListaMat() {
        return lblFechaListaMat;
    }

    public JLabel getLblNombreProveedor() {
        return lblNombreProveedor;
    }

    public JButton getBtnGuardarLista() {
        return btnGuardarLista;
    }

    public JLabel getLblFechaModificacionLista() {
        return lblFechaModificacionLista;
    }

    public JButton getBtnBuscarLista() {
        return btnBuscarLista;
    }

    public JLabel getLblCodigoLista() {
        return lblCodigoLista;
    }

    public JButton getBtnMostrarListaMateriales() {
        return btnMostrarListaMateriales;
    }
    
}
